#include<stdio.h>
#include<sys/types.h>
#include<unistd.h>
#include<fcntl.h>
#include<sys/stat.h>
struct device{
    char name[50];
    int status;
    char vender[50];
    //..............
};
int main(){
int fd1=open("./test.txt",O_WRONLY);
write(fd1,"HELLO",5);
//close(fd1);
return 0;
}
